package cn.intotw.rdcj.user.dao;



import cn.intotw.rdcj.user.bean.UserBasePO;
import cn.intotw.rdcj.user.bean.UserPageQuery;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserBaseDao {
    int deleteByPrimaryKey(Long userId);

    int insert(UserBasePO record);

    int insertSelective(UserBasePO record);

    UserBasePO selectByPrimaryKey(Long userId);

    List<UserBasePO> selectByMobilePhone(UserPageQuery userPageQuery);

    Page<UserBasePO> selectByMobilePhoneTestForParam(UserPageQuery userPageQuery);


    int updateByPrimaryKeySelective(UserBasePO record);

    int updateByPrimaryKey(UserBasePO record);
}